﻿<Window x:Class="wfDesigner.UpdateFlowChartWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
          xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"  
        Title="编辑流程" Height="268" Width="354" Loaded="Window_Loaded" ResizeMode="NoResize">
    <Grid Width="328" Height="225">
        <Label Content="进程名称：" Height="28" HorizontalAlignment="Left" Margin="12,26,0,0" Name="label1" VerticalAlignment="Top" Width="68" />
        <TextBox Height="24" HorizontalAlignment="Left" Margin="90,26,0,0" Name="FlowNameTxt" VerticalAlignment="Top" Width="218" Text="{Binding Path=SelItem.FlowChartName,Mode=TwoWay}" />
        <Label Content="类型：" Height="24" HorizontalAlignment="Left" Margin="12,66,0,0" Name="label2" VerticalAlignment="Top" Width="76" />
        <Button Content="编辑" Height="24" HorizontalAlignment="Left" Margin="52,189,0,0" Name="UpdateBtn" VerticalAlignment="Top" Width="85" Click="UpdateBtn_Click" />
         <Button Content="取消" Height="24" HorizontalAlignment="Left" Margin="184,189,0,0" Name="CancelBtn" VerticalAlignment="Top" Width="85" Click="CancelBtn_Click" />
        <ComboBox Height="23"  HorizontalAlignment="Left" Margin="90,66,0,0" Name="comboBox1" VerticalAlignment="Top" Width="218" DisplayMemberPath="TypeName" SelectedValuePath="TypeID"></ComboBox>
        <Label Content="资源：" Height="24" HorizontalAlignment="Left" Margin="12,104,0,0" Name="label6" VerticalAlignment="Top" Width="76" />
        <Label Content="操作：" Height="24" HorizontalAlignment="Left" Margin="12,145,0,0" Name="label7" VerticalAlignment="Top" Width="76" />
        <ComboBox DisplayMemberPath="Name" Height="23" HorizontalAlignment="Left" Margin="90,105,0,0" Name="comboBox2" SelectedValuePath="ResourceID" VerticalAlignment="Top" Width="218" />
        <ComboBox DisplayMemberPath="Name" Height="23" HorizontalAlignment="Left" Margin="90,146,0,0" Name="comboBox3" SelectedValuePath="OperationID" VerticalAlignment="Top" Width="218" />
    </Grid>
</Window>
